package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.domain.model.Book;
import com.example.demo.domain.vo.BookVo;
import org.springframework.stereotype.Service;

import java.util.List;


public interface IBookService extends IService<Book> {
    /**
     * 查询到期还未归还的图书
     * @return
     */
    List<BookVo> getBookList ();
    /**
     * 更新批量bookId
     * @param bookIds
     * @return
     */
    int updateStatuses(List<Long> bookIds);
}
